import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/store'
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
import axios from 'axios'
import Vueaxios from 'vue-axios'
import cookies from 'js-cookie'
import VideoPlayer from 'vue-video-player'
import hls from 'videojs-contrib-hls'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')

Vue.use(hls)
Vue.use(VideoPlayer)
Vue.use(ViewUI)
Vue.use(Vueaxios,axios)
Vue.use(cookies)
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  axios,
  cookies,
  components: { App },
  template: '<App/>'
})
